.label-settings__credit-card-description {
	margin-bottom: 4px;
	color: var( --color-text-subtle );
	padding-bottom: 8px;

	button {
		color: var( --color-primary );
	}
}

.card.label-settings__card {
	margin-bottom: 14px;
	display: flex;
	flex-direction: row;
	align-items: center;
	cursor: pointer;
}

.label-settings__card .payment-logo {
	margin-top: 0;
}

.form-checkbox.label-settings__card-checkbox {
	margin-right: 20px;
	float: left;
}

.payment-logo {
	float: left;
	margin-top: 10px;
	margin-right: 14px;
}

.label-settings__card-details {
	float: left;
	flex-grow: 1;
}

.label-settings__card-number {
	margin-bottom: 0;
	font-weight: 600;
}

.label-settings__card-name {
	margin-bottom: 0;
}

.label-settings__card-date {
	float: right;
	font-style: italic;
}

.label-settings__labels-container {
	&.hidden {
		visibility: hidden;
		height: 0;
		padding: 0;
		overflow: hidden;
	}

	.form-fieldset:last-child {
		margin-bottom: 0;
	}

	.label-settings__external {
		display: none;
	}
}

.label-settings__placeholder {
	@include placeholder();
	pointer-events: none;
	background: var( --color-surface );

	&::after {
		content: none;
	}

	.gridicon,
	span,
	p,
	a,
	button {
		animation: loading-fade 1.6s ease-in-out infinite;
		background-color: var( --color-neutral-5 );
		color: transparent;
		cursor: default;
	}

	p,
	span {
		display: block;
		width: 100px;
		height: 14px;
	}

	button {
		width: 200px;
		height: 14px;
	}

	.gridicon {
		fill: transparent;
		stroke: transparent;
	}
}

&.dialog.card.add-credit-card-modal .dialog__content {
	max-width: 720px;
	padding: 0;
}
